package com.zyf.workflow.business.osinstall;

import com.zyf.workflow.business.osinstall.bean.OSBean;
import com.zyf.workflow.worker.bean.WorkerResultBean;

public class OSInstallWorker {

    public WorkerResultBean install(OSBean osBean) {
        System.out.println("filePath:"+osBean.getFilePath()+",fileName:"+osBean.getFileName());

        WorkerResultBean workerResultBean = new WorkerResultBean();

        workerResultBean.setFlag(true);
        workerResultBean.setMsg(osBean.getFileName() + " install success.");
        workerResultBean.setData("data success");

        return workerResultBean;
    }
}
